﻿@model LIMIS.Models.LoginModel

@{
    Layout = null;
    ViewBag.Title = LIMIS.Properties.Settings.Default.LocalName + LIMIS.Properties.Settings.Default.SystemName + "用户登录";
}

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <meta name="viewport" content="width=device-width" />
    @Styles.Render("~/Login/css")
    @Scripts.Render("~/bundles/modernizr")
    <style type="text/css">
        img, div
        {
            behavior: url(iepngfix.htc);
        }
    </style>
</head>
<body id="login">
    <div id="wrappertop"></div>
    <div id="wrapper">
        <div id="content">
            <div id="header">
                <h1><a href="@Url.Action("Index","Home")">
                    <img src="/Content/loginImages/logo.png" alt="FreelanceSuite" /></a></h1>
            </div>
            <div id="darkbanner" class="banner320">
                <h2>用户登录</h2>
            </div>
            <div id="darkbannerwrap">
            </div>
            @using (Html.BeginForm(null, null, FormMethod.Post, new { id = "loginForm" }))
            {
                <fieldset class="form">                        
                    @Html.ValidationSummary(true)                 
                    <p>
                        @Html.LabelFor(m => m.UserName)
                        @Html.TextBoxFor(m => m.UserName)
                        @Html.ValidationMessageFor(m => m.UserName)
                    </p>
                    <p>
                        @Html.LabelFor(m => m.Password)
                        @Html.PasswordFor(m => m.Password)
                        @Html.ValidationMessageFor(m => m.Password)
                    </p>
                    <p>
                        <button type="submit" class="positive" name="Submit">
                            <img src="/Content/loginImages/key.png" alt="Announcement" />登录</button>
                        <span class="rememberMe">
                            @Html.CheckBoxFor(m => m.RememberMe)
                            @Html.LabelFor(m => m.RememberMe, new { @class = "checkbox" })
                            @Html.AntiForgeryToken()
                        </span>
                    </p>
                </fieldset>
            }
        </div>
    </div>

    <div id="wrapperbottom_branding">
        <div id="wrapperbottom_branding_text">&copy; @DateTime.Now.Year - @LIMIS.Properties.Settings.Default.Copyright 技术支持：<a href="http://feshine.net" target="_blank">飞扬网络</a></div>
    </div>
    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/jqueryval")
</body>
</html>
